import { instance as request } from '../request'

/**
 * 获取好友分享给自己的项目详情，包含收获，示例，笔记详情
 * @param projectId 项目id
 * @returns
 */
export const getFriendProjectDetailApi = (
  projectId: string
): PromiseRes<getFriendProjectDetailItf> =>
  request.get(`/share/friendProject/${projectId}`)
